package com.patterns.LSP;

import java.util.Collection;
import java.util.Map;

/**
 * Created by Xiao Yiyun on 2017/4/27.
 */
public class Son extends Father {
    //放大输入参数的类型
    public Collection method(Map map) {
        System.out.println("子类被执行...");
        return map.values();
    }
}
